{ Russian Olympiad. 1 stage.
  Problemset: http://agul-problems1.googlecode.com/svn/trunk/2010-2011/roi/stage1/roi_1stage.doc
  Problem 5
  Points: 20
}
const e=0.000001;
var s,x1,x2,x,y1,y2,y,r1,r2,r,fs,fc:extended;
begin
assign(input, 'input.txt');
assign(output, 'output.txt');
reset(input);
rewrite(output);
readln(x1,y1,r1);
readln(x2,y2,r2);
s:=sqrt(sqr(x1-x2)+sqr(y1-y2));
if s+(r1-r2)<e then writeln(r2:0:4,' ',x2:0:4,' ',y2:0:4) else
if s+(r2-r1)<e then writeln(r1:0:4,' ',x1:0:4,' ', y1:0:4) else begin
  r:=(s+r1+r2)/2;
  fc:=(x2-x1)/s;
  fs:=(y2-y1)/s;
  x:=x2+fc*(r2-r);
  y:=y2+fs*(r2-r);
  writeln(r:0:4,' ',x:0:4,' ',y:0:4);
end;
close(input);
close(output);
end.